package cn.tedu.spring.resource.controller;

import cn.tedu.spring.resource.service.ReService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @author ruoLi
 */
@Controller
public class ReController {
    @Resource(name = "reServiceImpl2")
    private ReService reService;

    public void runController(){
        System.out.println("runController() 执行了");
        reService.reRun();
    }
}
